[solved] Please Answer Both In Python Here Is The Solutioninn

[solved] Please Answer Both In Python Here Is The Solutioninn